package com.eclipse.youdaotranslation.pojo;

import java.util.ArrayList;
import java.util.List;

public class YoudaoWebRet {
	String errorCode;
	String type;
	List<List<TranslateResult>> translateResult = new ArrayList<List<TranslateResult>>();
	SmartResult smartResult;

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<List<TranslateResult>> getTranslateResult() {
		return translateResult;
	}

	public void setTranslateResult(List<List<TranslateResult>> translateResult) {
		this.translateResult = translateResult;
	}

	public SmartResult getSmartResult() {
		return smartResult;
	}

	public void setSmartResult(SmartResult smartResult) {
		this.smartResult = smartResult;
	}

	public static class TranslateResult {
		String tgt;
		String src;

		public String getTgt() {
			return tgt;
		}

		public void setTgt(String tgt) {
			this.tgt = tgt;
		}

		public String getSrc() {
			return src;
		}

		public void setSrc(String src) {
			this.src = src;
		}
	}

	public static class SmartResult {
		List<String> entries;
		String type;

		public List<String> getEntries() {
			return entries;
		}

		public void setEntries(List<String> entries) {
			this.entries = entries;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}
	}

}
